public with sharing class XMLParserWrapper {
    Public Class PimsContactSearch{
    public List<ContactDetail> ContactDetailList { get;set; }   
    public List<AddressDetail> AddressDetailList { get;set; }   
    public List<EmailDetail> EmailDetailList { get;set; }   
    public List<TelephoneDetail> TelephoneDetailList { get;set; }   
    public List<RelationShipDetail> RelationShipDetailList { get;set; }
    public List<SearchContact> SearchContactList { get;set; } 
    }
// Wrapper Class for Contact Detail Elements
    public class ContactDetail{
    public String partner_id { get; set; }
    public String related_partner_id {get; set;}
    public String name_id { get; set; }
    public String first_name { get; set; }
    public String middle_name{ get; set; }
    public String last_name { get;set; }
    public String preferred_name { get; set; }
    public String gender { get; set; }
    public String sts { get;set; }
        }
// Wrapper Class for AddressDetail Elements
public class AddressDetail{
    public String partner_id { get; set; }
    public String address_type { get; set; }
    public String preferred_address { get; set; }
    public String address_line{ get; set; }
    public String city { get;set; }
    public String state { get; set; }
    public String country { get; set; }
    public String zip_code { get; set; }
    public String county { get; set; }
    public String sts { get; set; }
    }
// Wrapper Class for EmailDetail Elements   
public class EmailDetail{
    public String partner_id { get; set; }
    public String email_type { get; set; }
    public String email_address { get; set; }
    public String preferred_email{ get; set; }
    }
// Wrapper Class for TelephoneDetail Elements
public class TelephoneDetail{
    public String partner_id { get; set; }
    public String telephone_number { get; set; }
    public String telephone_type { get; set; }
    public String preferred_telephone{ get; set; }
    public String comments { get;set; }
    public String country { get; set; }
    public String sts { get; set; }
    }
// Wrapper Class for RelationshipDetail Elements
public class RelationshipDetail{
    public String partner_id { get; set; }
    public String related_partner_id { get; set; }
    public String related_name_id { get; set; }
    public String relationship_type { get; set; }
    public String start_date { get; set; }
    public String sts { get; set; }
    }
// Wrapper Class for SearchContact Elements
public class SearchContact{    
    public String Email { get; set; }
    public String FirstName { get; set; }
    public String LastName { get; set; }
    public String Phone { get; set; }
    public String City { get; set; }
    public String State { get; set; }
    public String ZipCode { get; set; }
}
}